#ifndef __UICONTROLWND__H__
#define __UICONTROLWND__H__

#include <MZFCLIB.h>

#include	"iUiButton.h"
#include	"UiStatusBar.h"
#include	"UiStatic.h"

typedef enum _tagControlWndBtnDisplay
{
	CONTROL_WND_HAND_BREAK = 0,
	CONTROL_WND_CLOCK,
	CONTROL_WND_HOT_KEY,
	CONTROL_WND_GPS_LISTEN,
	CONTROL_WND_VOLUME_LIMIT,
	MAX_CONTROL_WND_BTN,
} CONTROL_WND_BTN;

class UiControlWnd :
	public UiWin
{
public:
	UiControlWnd();
	~UiControlWnd();

	BOOL InitUiWin(void);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton m_BtnControlWnd[MAX_CONTROL_WND_BTN];
	UiStatic	m_StaticControlWnd[MAX_CONTROL_WND_BTN];
	ImagingHelper	*m_ControlWndBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;
public:
	void UpdateLanguage();
};

#endif